x86/mm: fix 32-bit p2m type lookups
authorTim Deegan <Tim.Deegan@citrix.com>
Fri, 8 Jul 2011 10:44:23 +0000 (11:44 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Fri, 8 Jul 2011 10:44:23 +0000 (11:44 +0100)
commit412b25c8282eec67db198786978266e46c00bc46
treefb7c6a5ae1f8c69fe9543bf069ce2ef437ecc7e0
parent7c7a202cce75f550f95b2d16eb2736171ca81ad2
x86/mm: fix 32-bit p2m type lookups

23300:4b0692880dfa moved a check for 0 into p2m_flags_to_type()
and removed it from its caller, but the new check is only
compiled in 64-bit builds.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/include/asm-x86/p2m.h